package com.design.found.builder.atguigu.improve;

/**
 * @ProjectName: design
 * @Package: com.design.found.builder.atguigu.improve
 * @ClassName: HouseBuilder
 * @Author: shenaiguo
 * @Description:
 * @Date: 2020/8/30 0030 17:32
 */
//抽象的创建者
// 步骤 2
public abstract class HouseBuilder {

    protected House house = new House();

    //将建造的流程写好, 抽象的方法
    public abstract void buildBasic();

    public abstract void buildWalls();

    public abstract void roofed();

    //建造房子好， 将产品(房子) 返回
    public House buildHouse() {
        return house;
    }
}
